//
//  API.h
//  ArtCircle
//
//  Created by sunbin on 2017/5/20.
//  Copyright © 2017年 HuaYue. All rights reserved.
//

#ifndef API_h
#define API_h

//服务器地址
#define SERVER_HOST @"http://52.80.21.157:8888"
//首页接口
#define Server_HomePage @"/server/homePage/getHost"

//轮播
#define Server_Banner @"/server/banner/findAll"

//获取登入验证码  输入手机号获取验证码
#define Server_Getcode @"/server/userLogin/code4"

//验证码登陆    App端用验证码登陆 默认缓存100天
#define Server_CodeLogin @"/server/userLogin/appLoginPhoneCode"

//注册验证码  /server/userLogin/code4register
#define Server_CodeRegister @"/server/userLogin/code4register"
//注册  /server/userLogin/register
#define Server_Register @"/server/userLogin/register"





//密码登入   手机和密码 登入
#define Server_AppLogin @"/server/userLogin/appLogin"

//找回密码时请求验证码
#define Server_Findpsw @"/server/userLogin/code4findpsw"

//修改密码
#define Server_UpdatePassword @"/server/userLogin/updatePassword"

//用户授权微信登陆后的回调接口/已用手机号登陆的用户绑定微信
#define Server_wxLoginDown @"/server/userLogin/wxLoginDown"

//第三方授权登陆的用户绑定手机号时请求验证码
#define Server_code4BindWx @"/server/userLogin/code4BindWx"

//第三方授权登陆的用户绑定手机号
#define Server_bindWx @"/server/userLogin/bindWx"

//七牛上传图片
#define Server_UploadImageToken @"/server/qiniu/getUploadImageToken"

//七牛上传视频
#define Server_UploadVideoToken @"/server/qiniu/getUploadVideoToken"


//获取某用户的粉丝
#define Server_getFans @"/server/user/getFans"

//获取某用户的关注
#define Server_getAttentions @"/server/user/getAttentions"

//保存用户修改信息
#define Server_userSave @"/server/user/save"

//上传图片
#define Server_fileUpload @"/server/file/upload"


//才艺发布 所有
#define Server_AcquirementReply  @"/server/acquirement/findAll"

//才艺发布 用户发布单个才艺
#define Server_acquirementSave  @"/server/acquirement/save"

//选取单个才艺
#define Server_FindOne  @"/server/acquirement/select"

//用户钱包findone /server/wallet/findAll  /server/wallet/findOne
#define Wallet_findOne  @"/server/wallet/findOne"



//聊天室
#define Server_ChatMany @"/server/chatMany/findAll"

//私人定制
#define Server_Customization @"/server/customization/findAll"



#endif /* API_h */
